package com.beta.vo.home;

import com.beta.vo.product.ProductItemVO;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Collections;

/**
 * Created by lichao on 2016/12/20.
 */
@Getter
@Setter
public class HomeRecommendsVO {

    private Integer id;

    private String picUrl;

    private Integer position;

    private String recommendType;

    private Integer productId;

    private String productName;

    private Integer productItemId;

    private BigDecimal price;

    private String unit;

    private String cityCode;

    private String cityName;

    private Integer userId;

    private String userName;

    private Boolean available;

    private ProductItemVO productItem;

    public Object getPicUrl() {
        return Collections.singletonMap("url", this.picUrl);
    }

    public String getPictureUrl() {
        return this.picUrl;
    }

}
